package com.example.kevin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.Past;
import lombok.Data;

import java.util.Date;

/**
 * Author: Kevin
 * Date: 2023/5/1 20:06
 */
@Data
public class TaskData {
    private Integer ruleId;
    //    @Pattern(regexp = "[A-Za-z0-9_]")
    private String userId;
    private Integer user;
    @Past
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birth;
    private String batchId;
    private String status;
    private Integer id;
}
